//
//  Const.swift
//  Casecord
//
//  Created by baozi on 2024/1/3.
//

import Foundation
struct Const {
    // 类型 0: h-c, 1: zsa, 2: u_me
    static let platformType = 1
    // 文件上传地址
    static func fileUploadUrl()->String{
        Env.current.fileUploadUrl
    }
    static func aesStrKey()->String{
        Env.current.aesKey
    }
    // 商店id
    static let appStoreId = "6446101740"
    // facebookId
    static let facebookId = "109233767890484"
    
    static var bundleInfo: [String: Any] = {
        let info = Bundle.main.infoDictionary
        return info ?? [:]
    }()
    
    static var shortVersion: String = {
        "\(bundleInfo["CFBundleShortVersionString"] ?? "")"
    }()
    
    static var displayName: String = {
        "\(bundleInfo["CFBundleDisplayName"] ?? "")"
    }()
    
    static let appVersion = "1.0.0"
    // MARK: 常量下载渠道
    static let downloadChannel = "appstore"

    // MARK: 路由使用 scheme
    static let nativiScheme = "native"
    // MARK: 路由使用 keypath
    static let routeNameKey = "iosUrl"
    
    static let privicyUrl:String = "https://zsachat.com/app/LitmetPrivicys.html"//隐私协议
    static let termsUrl:String = "https://zsachat.com/app/LitmetTerm.html" //服务条款
    
    static var googleTranslateKey:String = "AIzaSyC9Yh_8t7aIYqwVeR7DVO6XF8cZYGvip58"
    static var googleVerifyKey:String = "6LeUI9gkAAAAAMRCm29PXXru1aQB59rs-2ahWc8n"
//    //appKey
//    var aws3AccessKey:String = "AKIAZ2U6YANXI6JH6OLZ"
//    var aws3AccessSecret:String = "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"
//    var aws3Region:String = "us-east-2"
//    var aws3BucketName:String = "honeycam"
    /// 系统id
    static var sessionSystemId: Int {
        Env.current.systemSessionId
    }
    /// 客服
    static var sessionServiceId: Int {
        Env.current.serviceSessionId
    }
    /// 陌生人id
    static var sessionStrangerId: Int {
        Env.current.strangerSessionId
    }
}
